import types from '../types.js'

const state = {
  productListone: [],
  productListtwo: []
}

var getters = {
  productListone: state => state.productListone,
  productListtwo: state => state.productListtwo
}

const mutations = {
  [types.INPRODUCTLISTONE] (state, productlistone) {
    state.productListone = productlistone
    // console.log(state.productListone)
  },
  [types.INPRODUCTLISTTWO] (state, productlisttwo) {
    state.productListtwo = productlisttwo
    // console.log(state.productListtwo)
  }
}

export default {
  state,
  mutations,
  getters
}
